﻿@model SlideshowModel

@using Telerik.Web.Mvc.UI;

@Html.ValidationSummary(true)
@Html.HiddenFor(model => model.Id)
<table class="adminContent">
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Enabled):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Enabled)
            @Html.ValidationMessageFor(model => model.Enabled)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Height):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Height)
            @Html.ValidationMessageFor(model => model.Height)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Width):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Width)
            @Html.ValidationMessageFor(model => model.Width)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.AutoSlideInterval):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.AutoSlideInterval)
            @Html.ValidationMessageFor(model => model.AutoSlideInterval)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.PictureLinkCollectionId):
        </td>
        <td class="adminData">

            @(Html.Telerik().DropDownListFor(model => model.PictureLinkCollectionId)
                .Name("PictureLinkCollectionId")
                .BindTo(Model.PicturelinkCollections)
                .Placeholder(T("Admin.Media.Slideshow.PicturelinkCollections").Text)
            )

            @Html.ValidationMessageFor(model => model.PictureLinkCollectionId)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Type):
        </td>
        <td class="adminData">

            @(Html.Telerik().DropDownListFor(model => model.Type)
                .BindTo(Model.TypeOptions)
                .Placeholder(T("Admin.Media.Slideshow.SlideShowType").Text)
            )

            @Html.ValidationMessageFor(model => model.Type)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.HoverPause):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.HoverPause)
            @Html.ValidationMessageFor(model => model.HoverPause)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Links):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Links)
            @Html.ValidationMessageFor(model => model.Links)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Navigation):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Navigation)
            @Html.ValidationMessageFor(model => model.Navigation)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.ShowTitle):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.ShowTitle)
            @Html.ValidationMessageFor(model => model.ShowTitle)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.AutoRotate):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.AutoRotate)
            @Html.ValidationMessageFor(model => model.AutoRotate)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.MouseWheel):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.MouseWheel)
            @Html.ValidationMessageFor(model => model.MouseWheel)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.Speed):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.Speed)
            @Html.ValidationMessageFor(model => model.Speed)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.XPosition):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.XPosition)
            @Html.ValidationMessageFor(model => model.XPosition)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.YPosition):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.YPosition)
            @Html.ValidationMessageFor(model => model.YPosition)
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.YRadius):
        </td>
        <td class="adminData">
            @Html.EditorFor(model => model.YRadius)
            @Html.ValidationMessageFor(model => model.YRadius)
        </td>
    </tr>

@*
    <tr>
        <td class="adminTitle">
            @Html.NopLabelFor(model => model.RelatedContentId):
        </td>
        <td class="adminData">

            @(Html.Telerik().DropDownListFor(model => model.RelatedContentId)
                .Name("RelatedContentId")
                .DataBinding(binding => binding.Ajax().Select("_GetDropDownListContents", "Media"))
                .Placeholder(T("Admin.Media.PictureLink.Collection.SelectContent").Text)
            )

            @Html.ValidationMessageFor(model => model.RelatedContentId)
        </td>
    </tr>
*@
</table>
